Average sentence length |
---|
12.5961 |
sentence length | percentage |
---|---|
2 | 0.0100 |
3 | 0.1500 |
4 | 0.3800 |
5 | 0.7900 |
6 | 1.2500 |
7 | 1.8400 |
8 | 4.3400 |
9 | 3.4600 |
10 | 1.0200 |
11 | 3.7100 |
12 | 5.8400 |
13 | 58.2100 |
14 | 12.8800 |
15 | 1.8500 |
16 | 1.9700 |
17 | 0.5000 |
18 | 0.2100 |
19 | 0.1900 |
20 | 0.2600 |
21 | 0.1900 |
22 | 0.1900 |
23 | 0.0900 |
24 | 0.1200 |
25 | 0.1100 |
26 | 0.0600 |
27 | 0.0400 |
28 | 0.1100 |
29 | 0.0300 |
30 | 0.0500 |
31 | 0.0100 |
32 | 0.0700 |
33 | 0.0200 |
34 | 0.0200 |
35 | 0.0100 |
36 | 0.0100 |
37 | 0.0100 |
Next we measure the length of a sentence by its number of words. Again, we are interested in average length and length distribution.
See above.
For simplicity, the number of words in a sentence is calculated as 1+(Number of blanks in the sentence).
Average length:
select avg(1+char_length(sentence)-char_length( replace(sentence," ",""))) from sentences;
Distribution:
SELECT @all:=count(*) from sentences;
select 1+char_length(sentence)-char_length( replace(sentence," ","")), 100*count(*)/@all from sentences where 50>=1+char_length(sentence)-char_length(replace(sentence," ",""))group by 1+char_length(sentence)-char_length( replace( sentence," ",""));
4.2.1 Length of sentences in characters